package com.cyk.comicforumjava.demos.mapper;

import com.cyk.comicforumjava.demos.dto.UserDto;
import com.cyk.comicforumjava.demos.enits.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LoginMapper {
    User selectByUsername(String username);

    void insert(User user);

    User selectByUserId(Long id);

    void updateUser(User user);

    User selectByphone(String phone);

    void updateAvator(User user);

    void updateSignature(User user);

    List<User> selecAll(String username);
}
